package com.chunfen.dubbo.provider;

import com.google.common.collect.Maps;

import java.util.Map;

public class LocalRegister {

    private static Map<String, Class> map = Maps.newHashMap();

    public static void regist(String interfaceName, Class implClass){
        map.put(interfaceName, implClass);
    }

    public static Class get(String interfaceName){
        return map.get(interfaceName);
    }
}
